package main

import (
	"2024_2_7_about_oop/demo2/Student"
	"fmt"
)

func main() {
	fmt.Println("下面是封装效果")
	s := Student.NewStudentInfo("小红", 19, "13366778899")
	s.PrintInfo()

	fmt.Println(s.GetName())
	fmt.Println(s.GetAge())
	fmt.Println(s.GetTele())
}
